<?php
declare(strict_types=1);
namespace App\Service\Community\Statuses;
use Auth;
class StatusesUpdate implements StatusesUpdateInterface {
    public function statuses_store($request):bool{
        Auth::user()->statuses()->create([
            'content' => $request['content']
        ]);
        return true;
    }
    public function destroy($status):bool{
        $status->update(['status'=>0]);
        return true;
    }
}
